﻿Imports System.Reflection
Public Class ComplexFilters
    Implements UCBase.I_Plugin
    Private DevList As New List(Of UCBase.UCSDevice)
    Public ReadOnly Property Devices() As System.Collections.Generic.List(Of UCBase.UCSDevice) Implements UCBase.I_Plugin.Devices
        Get
            Return DevList
        End Get
    End Property
    Public Function GetDevice(ByVal Name As String) As System.Windows.Forms.Control Implements UCBase.I_Plugin.GetDevice
        If Name = "ColorReplace" Then Return New ColorReplace 'Get Control from Reference Name
        If Name = "AvarageFilter" Then Return New AvarageFilter 'Get Control from Reference Name
        If Name = "LightAmp" Then Return New LightAmp 'Get Control from Reference Name
        If Name = "LightAmp2" Then Return New LightAmpB 'Get Control from Reference Name
        If Name = "LightAmp3" Then Return New LightAmpC 'Get Control from Reference Name
        Return Nothing
    End Function
    Public Sub Unload() Implements UCBase.I_Plugin.Unload

    End Sub
    Public Sub New()
        DevList.Add(New UCBase.UCSDevice("Color Replace Filter", "ColorReplace", "Complex Filters", "Color Replacement Filter"))
        DevList.Add(New UCBase.UCSDevice("Avarage Filter", "AvarageFilter", "Complex Filters", "Avarage Filter"))
        DevList.Add(New UCBase.UCSDevice("Light Amp", "LightAmp", "Complex Filters", "Light Amp"))
        DevList.Add(New UCBase.UCSDevice("Light Amp 2", "LightAmp2", "Complex Filters", "Light Amp 2"))
        DevList.Add(New UCBase.UCSDevice("Light Amp 3", "LightAmp3", "Complex Filters", "Light Amp 3"))
    End Sub
    Public WriteOnly Property Resources() As UCBase.ResourceManager Implements UCBase.I_Plugin.Resources
        Set(ByVal value As UCBase.ResourceManager)

        End Set
    End Property
End Class
